package com.zhaoxi.project.mes.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhaoxi.framework.aspectj.lang.annotation.Excel;
import com.zhaoxi.framework.web.domain.BaseEntity;
import com.zhaoxi.framework.web.domain.TreeEntity;
import lombok.Data;

/**
 * 生产计划排程对象 mes_schedule
 * 
 * @author zhaoxi
 * @date 2023-08-28
 */
@Data
public class MesSchedule extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 计划id */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 物品编码 */
    @Excel(name = "物品编码")
    private String goodsCode;

    /** 流水线 */
    @Excel(name = "流水线")
    private String lineCode;

    /** 开始生产 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始生产", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal quantity;

    /** 是否启用 */
    private String enableFlag;


}
